<% layout('/layouts/default.html', {title: '省办反馈办理', libs: ['validate','fileupload','dataGrid']}){ %>
<div class="main-content">
	<div class="box box-main">

		<#form:form id="inputForm" model="${dcSupTaskFeedbackProvince!}" action="${ctx}/audit/taskReceive/feedbackProvince" method="post" class="form-horizontal">
			<div class="box-body">
				<div class="form-unit">${text('办理反馈')}</div>
				<div class="row">
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								</label>
							<div class="col-sm-8">
                                <#form:hidden path="bizId" />
                                <#form:hidden path="actionId" />
                                <#form:hidden path="taskId" />
                                <#form:hidden path="id" />
<!--                                <#form:hidden path="reportEndDate"  />-->
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								<span class="required ">*</span> ${text('承办单位')}：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
                                <#form:input path="reportUnit" maxlength="64"  class="form-control" value="芜湖市政府" readonly="true"/>
							</div>
						</div>
					</div>
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								<span class="required ">*</span> ${text('经办人')}：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8" style="padding-right: 50px;position: relative">
                                <#form:input path="reportBy" maxlength="64"  class="form-control required" readonly="true"/>
							</div>
						</div>
					</div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('承办部门')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" style="padding-right: 50px;position: relative">
                                <#form:input path="reportDeptName" maxlength="64"  class="form-control required" readonly="true"/>
                            </div>

                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('经办人电话')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" style="padding-right: 50px;position: relative">
                                <#form:input path="reportContactPhone" maxlength="64"  class="form-control required" readonly="true" />
                            </div>
                        </div>
                    </div>
					<div class="col-xs-6">

						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								<span class="required ">*</span> ${text('办理时间')}：<i
									class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<div class="form-inline" style="padding-left: 0px !important;margin: 0px !important;">
                                    ${dcSupTaskFeedbackProvince.reportDate}
								</div>
							</div>
						</div>
					</div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('处理结果')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" >
                                <% var items = [{label:'办结',value:'BJ'},{label:'处理中',value:'CLZ'}]; %>
                                <#form:radio path="dealResult" items="${items}" itemLabel="label" itemValue="value" class="form-control required" defaultValue="BJ" />

                            </div>
                        </div>
                    </div>

                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('处理方式')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" >
                                <% var items1 = [{label:'核查办理',value:'1'},{label:'参考研究',value:'2'},{label:'留存处理（填写留存处理原因）',value:'3'}]; %>
                                <#form:radio path="dealType" items="${items1}" itemLabel="label" itemValue="value" class="form-control required" defaultValue="1"/>

                            </div>
                        </div>
                    </div>
                    <div class="col-xs-12" id="saveReasonId" style="display: none">
                        <div class="form-group">
                            <label class="control-label col-sm-2" title="">
                                <span class="required hide">*</span> ${text('留存处理原因')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-10">
                                <#form:textarea path="saveReason" rows="3" readonly="true" class="form-control" autocomplete="off" maxlength="1000" placeholder="限制1000字以内" />
                            </div>
                        </div>
                    </div>
                  <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required hide">*</span> ${text('是否属实')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" >
                                <% var items2 = [{label:'属实',value:'1'},{label:'基本属实',value:'2'},{label:'不属实',value:'3'}]; %>
                                <#form:radio path="isVerified" items="${items2}" itemLabel="label" itemValue="value" class="form-control " />
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('办理满意度')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" >
                                <% var items3 = [{label:'满意',value:'1'},{label:'基本满意',value:'2'},{label:'不满意',value:'3'},{label:'无法核查满意度（填写无法核查满意原因）',value:'4'}]; %>
                                <#form:radio path="satisfaction" items="${items3}" itemLabel="label" itemValue="value" class="form-control required" defaultValue="1"/>

                            </div>
                        </div>
                    </div>
                    <div class="col-xs-12" id="satisfactionReasonId" style="display: none">
                        <div class="form-group">
                            <label class="control-label col-sm-2" title="">
                                <span class="required hide">*</span> ${text('无法核查满意度原因')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-10">
                                <#form:textarea path="satisfactionReason" rows="3" readonly="true" class="form-control" autocomplete="off" maxlength="1000" placeholder="限制1000字以内" />
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-6" id="satisfactionCheckDateId">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('满意度核查时间')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8">
                                <div class="form-inline" style="padding-left: 0px !important;margin: 0px !important;">
                                    ${dcSupTaskFeedbackProvince.satisfactionCheckDate}
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-12">
                        <div class="form-group">
                            <label class="control-label col-sm-2" title="">
                                <span class="required ">*</span> ${text('办理单位是否公开留言')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-10" >
                                <% var items4 = [{label:'中国政府网公开',value:'1'},{label:'中国政府网不公开，仅向网民推送',value:'2'},{label:'不向网民个人推送',value:'3'}]; %>
                                <#form:radio path="msgPublishType" items="${items4}" itemLabel="label" itemValue="value" class="form-control required" defaultValue="1"/>

                            </div>
                        </div>
                    </div>
                    <div class="col-xs-12" id="unpublishReasonId" style="display: none">
                        <div class="form-group">
                            <label class="control-label col-sm-2" title="">
                                <span class="required hide">*</span> ${text('不公开原因')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-10">
                                <#form:textarea path="unpublishReason" rows="3" readonly="true" class="form-control" autocomplete="off" maxlength="1000" placeholder="限制1000字以内" />
                            </div>
                        </div>
                    </div>
                </div>
				<div class="row">
					<div class="col-xs-12">
						<div class="form-group">
							<label class="control-label col-sm-2" title="">
								<span class="required ">*</span> ${text('核查情况')}：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-10">
								<#form:textarea path="checkMsg" rows="3" class="form-control required" readonly="true" autocomplete="off" maxlength="1000" placeholder="限制1000字以内" />
							</div>
						</div>
					</div>
                    <div class="col-xs-12">
                        <div class="form-group">
                            <label class="control-label col-sm-2" title="">
                                <span class="required ">*</span> ${text('问题原因')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-10">
                                <#form:textarea path="problemReason" rows="3" class="form-control required" readonly="true" autocomplete="off" maxlength="1000" placeholder="限制1000字以内" />
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-12">
                        <div class="form-group">
                            <label class="control-label col-sm-2" title="">
                                <span class="required ">*</span> ${text('解决措施')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-10">
                                <#form:textarea path="measuresContent" rows="3" readonly="true" class="form-control required" autocomplete="off" maxlength="1000" placeholder="限制1000字以内" />
                            </div>
                        </div>
                    </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <label class="control-label col-sm-2">
                                        <span class="required hide">*</span> ${text('办理相关附件')}：</label>
                                    <div class="col-sm-10">
                                        <#form:fileupload id="uploadFile" bizKey="${dcSupTaskFeedbackProvince.bizId}" bizType="dcSupTaskFeedbackProvince_type1"
                                            uploadType="all" class="" readonly="true" preview="true" maxUploadNum="10"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <label class="control-label col-sm-2">
                                        <span class="required ">*</span> ${text('领导批示附件')}：</label>
                                    <div class="col-sm-10">
                                        <#form:fileupload id="uploadFile2" bizKey="${dcSupTaskFeedbackProvince.bizId}" bizType="dcSupTaskFeedbackProvince_type2"
                                        uploadType="all" class="required" readonly="true" preview="true" maxUploadNum="10"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </#form:form>
            </div>
        </div>
        <% } %>
        <script>
            $("#reportUnit").val("芜湖市政府")


              var val1 =  $('#dealType input:radio:checked').val();// 取值
                if(val1==3){
                    $("#saveReasonId").show()
                }else {
                    $("#saveReasonId").hide()
                }

                var val =  $('#satisfaction input:radio:checked').val();// 取值
                if(val==4){
                    $("#satisfactionReasonId").show()
                    $("#satisfactionCheckDateId").hide()

                }else {
                    $("#satisfactionCheckDateId").show()
                    $("#satisfactionReasonId").hide()
                }

                var val2 =  $('#msgPublishType input:radio:checked').val();// 取值
                if(val2==1){
                    $("#unpublishReasonId").hide()
                }else {
                    $("#unpublishReasonId").show()
                }


        </script>
